use actix_web::Error;
use actix_web::web::{Json, Path};
use apistos::actix::CreatedJson;
use apistos::{ApiComponent, api_operation};
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use uuid::Uuid;

#[derive(Serialize, JsonSchema, ApiComponent)]
pub struct ToDoDetailVO {
    pub id: Uuid,
    pub title: String,
    pub description: Option<String>,
}
